<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<title>管理中心</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="/sys-admin/css/general.css" rel="stylesheet" type="text/css">
<link href="/sys-admin/css/main.css" rel="stylesheet" type="text/css">
<script src="/sys-admin/js/jquery.js" type="text/javascript"></script>
<script src="/sys-admin/js/cn_message.js" type="text/javascript"></script>
<script src="/sys-admin/js/validate.js" type="text/javascript"></script>
</head>
<body>
<h1><span class="action-span1">模板添加</span></h1>
<div class="list-div">
<form action="/sys-admin/action/cms/template.php" enctype="multipart/form-data" method="post">
<input type="hidden" name="met" value="add"/>
<table>
 <tr>
    <td class="label"><span class="require-field">*</span>名称</td>
    <td><input type="text" name="name" maxlength="40" value="" size="20" vtype="required" vname="template_add_name"/><span id="template_add_name_m"></span></td>
 </tr>
 <tr>
    <td class="label"><span class="require-field">*</span>文件名</td>
    <td><input type="text" name="filename" maxlength="40" value="" size="20" vtype="required-letter-digital" vname="template_add_filename" vmin="0" vmax="20"/><span id="template_add_filename_m"></span></td>
 </tr>
 <tr>
    <td class="label"><span class="require-field">*</span>文件</td>
    <td><input type="file" name="tpfile" vtype="required" vname="template_add_file"/><span id="template_add_file_m"></span></td>
 </tr>
 <tr>
    <td class="label"><span class="require-field">*</span>类型</td>
    <td><select name="type"><option value="1">独立</option><option value="2">共用</option></select>
	</td>
</tr>
<tr>
    <td class="label"></td>
    <td><input type="submit" value="保存 " class="button" onclick="return checkForm();"/>&nbsp;&nbsp;&nbsp;</td>
</tr>
</table>
</form>
</div>
</body></html>